package com.clothes.aweiDoExercises.esdao;

import com.clothes.aweiDoExercises.model.dto.post.PostEsDTO;
import java.util.List;

import com.clothes.aweiDoExercises.model.dto.question.QuestionEsDTO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * 帖子 ES 操作
 *
 * @author <<a href="www.yclothes.top">阿伟智能面试刷题平台</a>">clothes</a>
 * @from <a href="https://gitee.com/bhcb/awei-do-exercises">阿伟智能面试刷题平台</a>
 */
public interface QuestionEsDao extends ElasticsearchRepository<QuestionEsDTO, Long> {

    List<PostEsDTO> findByUserId(Long userId);
}